Year1 = input("Enter a year:")
Year2 = int(Year1)
if (Year2 % 4 == 0 and Year2 % 100 != 0 or Year2 % 400 == 0):
    print(f"{Year1} is a leap year.")
else :
    print(f"{Year1} is not a leap year.")    